<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .container {
            position: relative;
            width: 360px;
            height: 640px;
            background: rgba(0, 0, 0, .1);
            /* skew斜的 */
            transform: rotate(-30deg) skew(25deg) scale(.8);
            transition: 0.5s;
            margin-top: 150px;
            border-radius: 35px;
        }

        .container img {
            position: absolute;
            width: 360px;
            height: 640px;
            transition: 0.5s;
            border-radius: 35px;
        }

        .container:hover img:nth-child(4) {
            transform: translate(160px, -160px);
        }

        .container:hover img:nth-child(3) {
            transform: translate(120px, -120px);
            opacity: .8;
        }

        .container:hover img:nth-child(2) {
            transform: translate(80px, -80px);
            opacity: .6;
        }

        .container:hover img:nth-child(1) {
            transform: translate(40px, -40px);
            opacity: .4;
        }
    </style>
</head>

<body>
    <div class="container">
        <img src="https://gitee.com/simon324/img-hosting/raw/master/vueimg/20210110094637.png" alt="">
        <img src="https://gitee.com/simon324/img-hosting/raw/master/vueimg/20210110094637.png" alt="">
        <img src="https://gitee.com/simon324/img-hosting/raw/master/vueimg/20210110094637.png" alt="">
        <img src="https://gitee.com/simon324/img-hosting/raw/master/vueimg/20210110094637.png" alt="">
    </div>
</body>

</html>